#pragma once

#include <string>
#include "../Tinyxml2/tinyxml2.h"

class DatabaseConfig
{
public:
    DatabaseConfig();
    ~DatabaseConfig();

    void load(tinyxml2::XMLElement *element);

public:
    std::string host_;
    int port_ = 0;
    std::string database_;
	std::string schema_;
    std::string user_;
    std::string password_;
};

